﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Common
{
    // 
    public class TagChangingEventArgs : EventArgs
    {
        // 
        public ITag Tag { get; set; }

        /// <summary>
        /// 是否取消修改
        /// </summary>
        public bool Cancel { get; set; }

        // 
        public TagChangingEventArgs(ITag tag)
        {
            this.Tag = tag;
        }

        // 
        public TagChangingEventArgs(ITag tag, bool isCancel)
        {
            this.Tag = tag;
            this.Cancel = isCancel;
        }
    }
}
